package c.h.a.c0;

import android.location.GnssStatus;
import android.location.GnssStatus.Callback;
import com.liuzh.deviceinfo.location.RealtimeSatelliteActivity;
import com.liuzh.deviceinfo.view.GpsSkyView;

/* compiled from: RealtimeSatelliteActivity */
public class e extends Callback {
    public final /* synthetic */ RealtimeSatelliteActivity a;

    public e(RealtimeSatelliteActivity realtimeSatelliteActivity) {
        this.a = realtimeSatelliteActivity;
    }

    public void onFirstFix(int i) {
    }

    public void onSatelliteStatusChanged(GnssStatus gnssStatus) {
        this.a.v.setGnssStatus(gnssStatus);
    }

    public void onStarted() {
        GpsSkyView gpsSkyView = this.a.v;
        gpsSkyView.u = true;
        gpsSkyView.invalidate();
    }

    public void onStopped() {
        GpsSkyView gpsSkyView = this.a.v;
        gpsSkyView.u = false;
        gpsSkyView.F = 0;
        gpsSkyView.invalidate();
    }
}
